package cn.wsalix.admin.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import cn.anlaser.repository.CommonRepository;
import cn.wsalix.admin.entity.AuthData;

public interface AuthDataRepository extends CommonRepository<AuthData> {

	@Query("select r from AuthData r where r.code=:code")
	public List<AuthData> findByCode(@Param("code") String code);
	
}
